#include "MockShowWriter.h"
#include "IF_ShowGuiInterface.h"

MockShowWriter::MockShowWriter(QObject *parent) :
   IF_ShowWriterInterface(parent)
{
}


void MockShowWriter::writeShow(IF_ShowGuiInterface & guiInterafce,
                               const QString & filePath)
{
   if (filePath == QString())
   {
      m_savedFileName = guiInterafce.selectShowToSave();
   }
   else
   {
      m_savedFileName = filePath;
   }
}
